import request  from '@/utils/request';

import { BASE_URL } from '@/config/query';

export async function queryPage(params = { pageSize: 10, pageNum: 1 }) {
  return request(`${BASE_URL}/statistics_device_alarm/page`, params)
}

// 报警统计

export async function alarmCountStatistics(params) {
  return request(`${BASE_URL}/statistics_device_alarm/alarm_count_statistics`, params)
}
